﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.DoMain
{
    /// <summary>
    /// 产品类型表
    /// </summary>
    public class MaterialCategory
    {
        [Key]
        //主键
        public int category_id {  get; set; }
        [StringLength(100)]
        //产品类型名称
        public string? name { get; set; }
        //等级
        public int? category_level {  get; set; }
        //上级ID
        public int parent_id {  get; set; }
        [StringLength(50)]
        //显示顺序
        public string? sort {  get; set; }
        //删除标记，0未删除，1删除
        public bool delete_flag {  get; set; }
        [StringLength(200)]
        //编号
        public string? serial_no {  get; set; }
        [StringLength(1024)]
        //备注
        public string? remark {  get; set; }
        //创建时间
        public DateTime? create_time {  get; set; }
        //更新时间
        public DateTime? update_time {  get; set; }
        //租户id
        public int? tenant_id {  get; set; }
    }
}
